.class public Lcom/melesta/engine/Log;
.super Ljava/lang/Object;
.source "Log.java"


# static fields
.field public static isDebug:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 7
    invoke-static {}, Lcom/melesta/engine/EngineApp;->getApp()Lcom/melesta/engine/EngineApp;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/melesta/engine/EngineApp;->getApp()Lcom/melesta/engine/EngineApp;

    move-result-object v0

    invoke-virtual {v0}, Lcom/melesta/engine/EngineApp;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;

    move-result-object v0

    iget v0, v0, Landroid/content/pm/ApplicationInfo;->flags:I

    and-int/lit8 v0, v0, 0x2

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    sput-boolean v0, Lcom/melesta/engine/Log;->isDebug:Z

    return-void

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 6
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static d(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "c"
    .parameter "m"

    .prologue
    .line 11
    sget-boolean v0, Lcom/melesta/engine/Log;->isDebug:Z

    if-eqz v0, :cond_0

    .line 12
    invoke-static {p0, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 13
    :cond_0
    return-void
.end method

.method public static e(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "c"
    .parameter "m"

    .prologue
    .line 16
    sget-boolean v0, Lcom/melesta/engine/Log;->isDebug:Z

    if-eqz v0, :cond_0

    .line 17
    invoke-static {p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 18
    :cond_0
    return-void
.end method

.method public static e(Ljava/lang/String;Ljava/lang/String;Landroid/content/pm/PackageManager$NameNotFoundException;)V
    .locals 1
    .parameter "c"
    .parameter "m"
    .parameter "e"

    .prologue
    .line 26
    sget-boolean v0, Lcom/melesta/engine/Log;->isDebug:Z

    if-eqz v0, :cond_0

    .line 27
    invoke-static {p0, p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 28
    :cond_0
    return-void
.end method

.method public static v(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "c"
    .parameter "m"

    .prologue
    .line 31
    sget-boolean v0, Lcom/melesta/engine/Log;->isDebug:Z

    if-eqz v0, :cond_0

    .line 32
    invoke-static {p0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 33
    :cond_0
    return-void
.end method

.method public static w(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "c"
    .parameter "m"

    .prologue
    .line 21
    sget-boolean v0, Lcom/melesta/engine/Log;->isDebug:Z

    if-eqz v0, :cond_0

    .line 22
    invoke-static {p0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 23
    :cond_0
    return-void
.end method
